package com.youlu.campus.entity;

import com.kuaidi100.sdk.response.SubscribeWithMapPushParamResp;
import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.apache.commons.collections4.SetUtils;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@Data
@Document(collection = "kuai_di_100")
public class KuaiDi100 extends SubscribeWithMapPushParamResp {

    @Id
    private String id;
    @Indexed(unique = true)
    private String number;
    @Indexed
    private String orderNo;

    private Set<String> subOrderNoSet = new HashSet<>();

    private Date createdTime;

    private Date updatedTime;

    /**
     * 物流公司
     */
    private String logisticsCompany;

    private String receiveName;

    private String receiveMobile;

    private String receiveAddress;



}
